<template lang="pug">
div.flex.abs-fit
  div.relative.flex(v-for='tab in max' :key='tab' v-if="$slots['left'+tab]")
    slot(:name="'left'+tab")
  div.relative.flex-auto
    slot
  div.relative.flex(v-for='tab in max' :key='tab' v-if="$slots['right'+tab]")
    slot(:name="'right'+tab")
</template>
<script>
export default {
  data () {
    return {
      max: 5
    }
  }
}
</script>
